package main

import (
	"fmt"

	"net/http"

	"github.com/mozillazg/request"
)

func main() {
	c := new(http.Client)
	req := request.NewRequest(c)
	url := "http://httpbin.org/get"
	resp, _ := req.Get(url)
	d := resp.Body
	defer resp.Body.Close()
	fmt.Println(resp.Ok())
	fmt.Println(d)
}
